﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using ChineseRemainderTheorem.Mvvm;

namespace ChineseRemainderTheorem.ViewModels
{
    public class SecretPartViewModel : BaseViewModel
    {
        #region Fields

        #region Containers for bindable properties

        private BigInteger _secret;

        private BigInteger _mod;

        private int _index;
        
        private int _power;

        #endregion

        #endregion

        #region Properties

        public BigInteger Secret
        {
            get { return _secret; }
            set { SetProperty(ref _secret, value, "Secret"); }
        }

        public BigInteger Mod
        {
            get { return _mod; }
            set { SetProperty(ref _mod, value, "Mod"); }
        }

        public int Index
        {
            get { return _index; }
            set { SetProperty(ref _index, value, "Index"); }
        }

        public int Power
        {
            get { return _power; }
            set { SetProperty(ref _power, value, "Power"); }
        }

        #endregion
    }
}
